package com.ebupt.migu.music.schedule.Enum;

/**
 * @author xuhongsong
 * @version 1.0
 * @date 2021/11/19 17:08
 */
public enum ExecuteStatusEnum {
    //执行状态：1-待审核；2-已驳回；3-未开始；4-进行中；5-已中止；6-已结束；7-已删除；
    AWAIT_APPLY(1,"待审核"),
    REJECT(2,"已驳回"),
    START_BEFORE(3,"未开始"),
    CONDUCT_ING(4,"进行中"),
    SUSPENSION(5,"已中止"),
    END(6,"已结束"),
    DELETE(7,"已删除");

    private Integer code;
    private String message;


    /**
     * 私有构造,防止被外部调用
     * @param code
     * @param message
     */
    ExecuteStatusEnum(int code,String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }


    }
